package cn.cvs.dao;

import cn.cvs.entity.Auction;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AuctionDao {

    public List<Auction> getList1();   //拍卖完成
    public List<Auction> getList2();   //正在拍卖

    public int delAuction(@Param("id")Integer id);

    public int updAuction(Auction auction);

    public int addAuction(Auction auction);

    public Auction getById(@Param("id") Integer ids);

    public List<Auction> getList(Auction auction);
    public int getCount(Auction auction);
    //***********************************
    public int count();
}
